package com.upb.webserver.common.pojo.rest.fabric.data.rsp;

import com.upb.webserver.common.pojo.rest.fabric.data.BaseChainCodeDTO;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.ArrayList;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = true)
public class RspChainCodeStatusDTO extends BaseChainCodeDTO {
    String instantiateStatusName;
    int instantiateStatusCode;
    List<InstallStatus> installStatuses = new ArrayList<>();

    @Data
    public static class InstallStatus {
        private String nodeName;
        private String statusName;
        private int statusCode;
    }
}
